package com.ruoyi.zy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医案对象 vme_yian
 * 
 * @author ruoyi
 * @date 2024-04-17
 */
public class VmeYian extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医案编号 */
    private Long yianId;

    /** 经方编号 */
    @Excel(name = "经方编号")
    private Long jingfangId;

    /** 经方来源 */
    @Excel(name = "经方来源")
    private String jingfangSrc;

    /** 患者名 */
    @Excel(name = "患者名")
    private String patientName;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long patientAge;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String patientSex;

    /** 配方 */
    @Excel(name = "配方")
    private String config;

    /** 主述 */
    @Excel(name = "主述")
    private String content;

    public void setYianId(Long yianId) 
    {
        this.yianId = yianId;
    }

    public Long getYianId() 
    {
        return yianId;
    }
    public void setJingfangId(Long jingfangId) 
    {
        this.jingfangId = jingfangId;
    }

    public Long getJingfangId() 
    {
        return jingfangId;
    }
    public void setJingfangSrc(String jingfangSrc) 
    {
        this.jingfangSrc = jingfangSrc;
    }

    public String getJingfangSrc() 
    {
        return jingfangSrc;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientAge(Long patientAge) 
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge() 
    {
        return patientAge;
    }
    public void setPatientSex(String patientSex) 
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex() 
    {
        return patientSex;
    }
    public void setConfig(String config) 
    {
        this.config = config;
    }

    public String getConfig() 
    {
        return config;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yianId", getYianId())
            .append("jingfangId", getJingfangId())
            .append("jingfangSrc", getJingfangSrc())
            .append("patientName", getPatientName())
            .append("patientAge", getPatientAge())
            .append("patientSex", getPatientSex())
            .append("config", getConfig())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
